<template>
  <demo-section>
    <demo-block title="基础用法">
      <xc-button type="primary" style="margin-left: 15px" @handleClick="handleClick">按钮</xc-button>
    </demo-block>
  </demo-section>
</template>
<script lang="ts">
export default {
    setup(){
        function handleClick(){
            console.log("父组件响应事件")
        }
        return {
           handleClick 
        }
    }
}
</script>
